body {
    background-color: #FAF8EF;
}

/*头部容器*/
#header-container {
    padding: 6px;
    width: 500px;
    margin: 0px auto;
}

/*头部标题*/
#title {
    display: inline;
    font-family: Arial;
    font-size: 50px;
    margin: 0px;
    padding: 6px 0px 2px;
    text-align: left;
    font-weight: bold;
    color: #776E65;
}

.scores-container {
    float: right;
}

.score-container, .best-container {
    display: inline-block;
    width: 100px;
    background: #bbada0;
    padding: 3px;
    margin-left: 10px;
    border-radius: 4px;
}

.score-container p, .best-container p {
    color: #EEE4DA;
    font-size: 16px;
    margin: 0px;
    padding: 2px 0px;
    text-align: center;
    font-family: Arial;
}

.score-container p span, .best-container p span {
    color: white;
    font-weight: bold;
    margin: 0px;
    font-size: 20px;
    font-style: italic;
}

/*信息*/
#author {
    display: inline-block;
    color: #776E65;
    font-family: Arial;
    font-size: 20px;
    margin-top: 10px;
    padding: 6px 10px;
    text-align: left;
    font-weight: bold;
}

/*按钮*/
#newgamebutton {
    float: right;
    width: 100px;
    margin-top: 10px;
    padding: 10px 10px;
    background-color: #8f7a66;
    font-family: Arial;
    text-align: center;
    color: white;
    border-radius: 4px;
    text-decoration: none;
}

/*浮动在<a>上的颜色改变*/
#newgamebutton:hover {
    background-color: #9f8b77;
}

#container {
    padding-left: 6px;
    width: 500px;
    height: 500px;
    margin: 0px auto;
    position: relative;
}

#grid-container {
    width: 500px;
    height: 500px;
    background-color: #bbada0;
    border-radius: 6px;
    position: absolute;
}

.grid-cell {
    width: 100px;
    height: 100px;
    background-color: #ccc0b3;
    border-radius: 6px;
    position: absolute;
}

/*需要动态添加的number-cell*/
.number-cell {
    width: 100px;
    height: 100px;
    font-family: Arial;
    font-size: 20px;
    font-weight: bold;
    line-height: 100px;
    text-align: center;
    border-radius: 6px;
    position: absolute;
}

#end-container {
    width: 500px;
    height: 500px;
    position: absolute;
}

#gameover {
    margin: 100px 0px 0px;
    font-family: Arial;
    font-size: 50px;
    font-weight: bold;
    text-align: center;
}

/*按钮*/
#newgamebutton2 {
    margin: 30px auto 0px;
    display: block;
    width: 100px;
    padding: 10px 10px;
    background-color: #8f7a66;
    font-family: Arial;
    text-align: center;
    color: white;
    border-radius: 4px;
    text-decoration: none;
}

/*浮动在<a>上的颜色改变*/
#newgamebutton2:hover {
    background-color: #9f8b77;
}
